import request from "../request"
// /user/collect/getCollect  获取收藏数据

// /user/collect/addCollect  添加收藏

// /user/collect/deleteCollect  删除收藏
export default {
    //获取收藏数据
    getCollect(data={}){
        return request({
            url: "/api/user/collect/getCollect",
            method: "POST",
            data: data
        })
    },
    //添加收藏
    getAddCollect(data={}){
        return request({
            url: "/api/user/collect/addCollect",
            method: "POST",
            data: data
        })
    },
    //删除收藏
    getDeleteCollect(data={}){
        return request({
            url: "/api/user/collect/deleteCollect",
            method: "POST",
            data: data
        })
    },
}
